/*    */ package com.qmsk.business.member.bussbilldisctcouponpay.controller;
/*    */ 
/*    */ import com.qmsk.business.member.bussbilldisctcouponpay.dao.BussBillDisctCouPonPayDao;
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import com.utils.web.RequestUtils;
/*    */ import com.utils.web.ResponseUtils;
/*    */ import java.sql.SQLException;
/*    */ import javax.servlet.http.HttpServletRequest;
/*    */ import javax.servlet.http.HttpServletResponse;
/*    */ import org.apache.log4j.Logger;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.stereotype.Controller;
/*    */ import org.springframework.web.bind.annotation.PathVariable;
/*    */ import org.springframework.web.bind.annotation.RequestMapping;
/*    */ 
/*    */ @Controller
/*    */ @RequestMapping({"/bussBillPayDisct"})
/*    */ public class BussBillDisctCouPonPayController extends SupportDAO
/*    */ {
/* 26 */   private static final Logger logger = Logger.getLogger(BussBillDisctCouPonPayController.class);
/*    */ 
/*    */   @Autowired
/*    */   private BussBillDisctCouPonPayDao dao;
/*    */ 
/*    */   @RequestMapping(value={"find/id/{id}"}, method={org.springframework.web.bind.annotation.RequestMethod.GET})
/*    */   public void getListBussBillId(HttpServletRequest request, HttpServletResponse response, @PathVariable("id") Long BussId)
/*    */   {
/*    */     try
/*    */     {
/* 44 */       GsonEbRst gsonEbRst = this.dao.getGsonOfId(BussId);
/* 45 */       ResponseUtils.setResponseResult(gsonEbRst, response);
/*    */     } catch (SQLException e) {
/* 47 */       logger.error(e);
/* 48 */       ResponseUtils.setErrorMsgResponse(
/* 49 */         RequestUtils.getFindDataErrorMessage(request), response);
/*    */     }
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.member.bussbilldisctcouponpay.controller.BussBillDisctCouPonPayController
 * JD-Core Version:    0.5.3
 */